package com.coolwen.spring.dao;/**
 * Created by CoolWen on 2017/10/26.
 */

import com.coolwen.spring.model.User;

import java.util.List;

/**
 * @author CoolWen
 * @version 2017-10-26 9:32
 */
public interface IUserDao {
    public void add(User user, int gid);

    public void update(User user);

    public void delete(int id);

    public User load(int id);

    public List<User> list(String hql, Object[] args);
}
